const express = require('express');
const router = express.Router();
const path = require('path');

//将样式引入


// 引入静态资源
router.use(express.static('static'));

// //渲染注册
router.get('/register', (req, res) => {
    res.sendFile(path.join(__dirname, 'register.html'))
})

// //渲染登录
router.get('/login', (req, res) => {
    res.sendFile(path.join(__dirname, 'login.html'))
})

module.exports = router;